package com.learning.vo;

import com.learning.enums.DiffType;
import com.learning.enums.QuestionType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuestionDetailVO implements Serializable {

    private Long questionId;

    /**
     * 对应章节id
     */
    private Long chaptersId;

    /**
     * 对应答案id
     */
    private Long answerId;

    /**
     * 对应知识点id
     */
    private Long knowledgeId;

    /**
     * 题目内容，主观题为url路径
     */
    private String questionContent;

    /**
     * 题目类型，1-选择题，2-填空题，3-主观题
     */
    private Integer type;

    /**
     * 难易度，1-简单，2-中等，3-困难
     */
    private Integer difficulty;

    /**
     * 题目出错率
     */
    private Double errorRate;

    /**
     * 知识点内容
     */
    private String knowledgeContent;

    /**
     * 答案内容—主观题存图片url
     */
    private String answerContent;

    /**
     * 第几章
     */
    private Integer chapter;

    /**
     * 第几节
     */
    private Integer section;
}
